﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace IronOne.SalesOne.BusinessObjects
{
    public class NeedsAnalysis
    {

                
        private int needAnalysisNo;
        private string customerId;
        private string soCode;
        private string createdDate;
        private string prospectId;


        private float income;
        private float liability;
        private float expenses;
        private float assets;
        private float analyzes;
        private int needAnOpt;
        private float protIn;
        private int minTerm;
        private float sum;
        private float rider;
        private float critAmt;
        private string lastName;
        private int apSt;
        private string dob;
        private string marital;
        private string gender;
        private string remarks;
        private int noOfChild;




        //for mapping tables
        //Income
        private float inc;
        private float spouseIncome;
        private float otherIncome;
        private float savingInc;

        //liabilities
        private float unpLoans;

        //expenses
        private float food;
        private float houseExp;
        private float trans;
        private float schFees;
        private float otherExp;
        private float loanIns;
        private float credPay;
  
        //assets
        private float fixedDep;
        private float saving;
        private float othCey;
        private float othIns;
        private float othAss;

        //spouse
        private string spId;
        private string spName;
        private string spOtherName;
        private string spDob;
        private string spGender;
        private string spProfession;

        //dependent
        private string depName;
        private string depDob;
        private string depGender;
        private string depType;
        private string depRemarks;

        //prospect info


        public String CustomerId
        {
            get { return customerId; }
            set { customerId = value; }
        }

        public string IdNo
        { get; set; }
        
        public int NeedAnalysisNo
        {
            get { return needAnalysisNo; }
            set { needAnalysisNo = value; }
        }
        
        public string SoCode
        {
            get { return soCode; }
            set { soCode = value; }
        }
        

        public String ProspectId
        {
            get { return prospectId; }
            set { prospectId = value; }
        }

        public string CreatedDate
        {
            get { return createdDate; }
            set { createdDate = value; }
        }

        public string Remarks
        {
            get { return remarks; }
            set { remarks = value; }
        }

        public string Gender
        {
            get { return gender; }
            set { gender = value; }
        }

        public string Marital
        {
            get { return marital; }
            set { marital = value; }
        }

        public string Dob
        {
            get { return dob; }
            set { dob = value; }
        }

        public int ApSt
        {
            get { return apSt; }
            set { apSt = value; }
        }

        public string LastName
        {
            get { return lastName; }
            set { lastName = value; }
        }

        public float CritAmt
        {
            get { return critAmt; }
            set { critAmt = value; }
        }

        public float Rider
        {
            get { return rider; }
            set { rider = value; }
        }

        public float Sum
        {
            get { return sum; }
            set { sum = value; }
        }

        public int MinTerm
        {
            get { return minTerm; }
            set { minTerm = value; }
        }

        public float ProtIn
        {
            get { return protIn; }
            set { protIn = value; }
        }

        public int NeedAnOpt
        {
            get { return needAnOpt; }
            set { needAnOpt = value; }
        }

        public float Analyzes
        {
            get { return analyzes; }
            set { analyzes = value; }
        }

        public float Assets
        {
            get { return assets; }
            set { assets = value; }
        }

        public float Expenses
        {
            get { return expenses; }
            set { expenses = value; }
        }

        public float Liability
        {
            get { return liability; }
            set { liability = value; }
        }

        public float Income
        {
            get { return income; }
            set { income = value; }
        }

        public int NoOfChild
        {
            get { return noOfChild; }
            set { noOfChild = value; }
        }

        //income
        public float Inc
        {
            get { return inc; }
            set { inc = value; }
        }

        public float SpouseIncome
        {
            get { return spouseIncome; }
            set { spouseIncome = value; }
        }

        public float OtherIncome
        {
            get { return otherIncome; }
            set { otherIncome = value; }
        }

        public float SavingInc
        {
            get { return savingInc; }
            set { savingInc = value; }
        }


        //liabilities

        public float UnpLoans
        {
            get { return unpLoans; }
            set { unpLoans = value; }
        }

        //expenses

        public float Food
        {
            get { return food; }
            set { food = value; }
        }

        public float HouseExp
        {
            get { return houseExp; }
            set { houseExp = value; }
        }

        public float Trans
        {
            get { return trans; }
            set { trans = value; }
        }

        public float SchFees
        {
            get { return schFees; }
            set { schFees = value; }
        }

        public float OtherExp
        {
            get { return otherExp; }
            set { otherExp = value; }
        }

        public float LoanIns
        {
            get { return loanIns; }
            set { loanIns = value; }

        }

        public float CredPay
        {
            get { return credPay; }
            set { credPay = value; }
        }

        //assets

        public float FixedDep
        {
            get { return fixedDep; }
            set { fixedDep = value; }
        }

        public float Saving
        {
            get { return saving; }
            set { saving = value; }
        }

        public float OthCey
        {
            get { return othCey; }
            set { othCey = value; }
        }

        public float OthIns
        {
            get { return othIns; }
            set { othIns = value; }
        }

        public float OthAss
        {
            get { return othAss; }
            set { othAss = value; }
        }

        //spouse
        public String SpId
        {
            get { return spId; }
            set { spId = value; }
        }

        public String SpName
        {
            get { return spName; }
            set { spName = value; }
        }

        public String SpOtherName
        {
            get { return spOtherName; }
            set { spOtherName = value; }
        }

        public String SpDob
        {
            get { return spDob; }
            set { spDob = value; }
        }

        public String SpGender
        {
            get { return spGender; }
            set { spGender = value; }
        }

        public String SpProfession
        {
            get { return spProfession; }
            set { spProfession = value; }
        }

        //dependent
        public String DepName
        {
            get { return depName; }
            set { depName = value; }
        }

        public String DepDob
        {
            get { return depDob; }
            set { depDob = value; }
        }

        public String DepGender
        {
            get { return depGender; }
            set { depGender = value; }
        }


        public String DepType
        {
            get { return depType; }
            set { depType = value; }
        }

        public String DepRemarks
        {
            get { return depRemarks; }
            set { depRemarks = value; }
        }

        //prospect

        

        public string OtherName
        { get; set; }

        public string Profession
        { get; set; }

        public string Address1
        { get; set; }

        public string Address2
        { get; set; }

        public string City
        { get; set; }

        public string Country
        { get; set; }

        public string HomePhone
        { get; set; }

        public string OfficePhone
        { get; set; }

        public string Mobile
        { get; set; }

        public string Email
        { get; set; }

        public string PrefCall
        { get; set; }

        public string PrefPlace
        { get; set; }

        public string ProsRem
        { get; set; }
    }
}
